home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / C / Applications / Telnet 2.7b5 / source / Headers / menu_resrcdefs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-03-18  |  7.2 KB  |  152 lines  |  [TEXT/CWIE]

  1. /*================================================================================*/
  2. /* Defines for the Menu related resources */
  3.  
  4. #define    NMENUS    13            /*    We have NMENUS menus right now */
  5.  
  6. #define    appleMenu    1        /*    Apple Menu ID */
  7. #define    NfileMenu    512        /*    File Menu Resource ID */
  8. #define    NeditMenu    513        /*    Edit Menu Resource ID */
  9. #define NtermMenu    514        /*    Emulation Menu Resource ID */
  10. #define    NconnMenu    515        /*    Connection Menu Resource ID */
  11. #define NnetMenu    516        /*    Network Menu Resource ID */
  12.  
  13. #define    fileMenu    256        /*    File Menu ID */
  14. #define    editMenu    257        /*    Edit Menu ID */
  15. #define termMenu    258        /*    Emulation Menu ID */
  16. #define    connMenu    259        /*    Connection Menu ID */
  17. #define netMenu        260        /*    Network Menu Resource ID */
  18. #define fontMenu    128        /*  Font Menu Resource ID */
  19. #define sizeMenu    129        /*    Size Menu Resource ID */
  20. #define opspecMenu    130        /*    Open Special Sub-Menu Resource ID */
  21. #define prefsMenu    131        /*    Preferences Sub-Menu Resource ID */
  22. #define    transMenu    132        /*    Translation Sub-Menu Resource ID */
  23. #define keyMenu        1000    /*    Baylor -- Keypad menu */
  24. #define funcMenu    1002    /*    Baylor -- Function key menu */
  25.  
  26. #define    Fil            1        /*    File Menu's Position */
  27. #define Edit        2        /*  Edit Menu's Position */
  28. #define    Emul        3        /*    Emulation Menu's position */
  29. #define Net            4        /*    Network Menu's position */
  30. #define Conn        5        /*    Connection Menu's position */
  31. #define Font        6        /*    Font Menu's position */
  32. #define Sizem        7        /*  Size Menu's position */
  33. #define OpSpec        8        /*    Open Special Sub-Menu's position */
  34. #define PrefsSub    9        /*    Preferences Sub-Menu position */
  35. #define    National    10        /*    Translation Sub-Menu's postition */
  36. #define Keypad        11        /*    Baylor -- Keypad menu's position */
  37. #define Function    12        /*    Baylor -- Function menu's position */
  38.  
  39. /* ----------------- The File Menu ---------------------- */
  40. #define FLopen        1        /* File Menu: Open Connection */
  41. #define FLopenspec    2        /* File Menu: Open Special */
  42. #define    FLclose        3        /* File Menu: Close Connection */
  43. #define    FLload        5        /* File Menu: Load Set */
  44. #define    FLsave        6        /* File Menu: Save Set */
  45. #define FLbin        8        /* File Menu: MacBinary on */
  46. #define FLlog        10        /* File Menu: ftp log on */
  47. #define FLprint        12        /* File Menu: Print Selection */
  48. #define FLpset        13        /* File Menu: Page Setup */
  49. #define FLquit        15        /* File Menu: Quit */
  50.  
  51. /* ----------------- The Edit Menu ---------------------- */
  52. #define    EDundo        1
  53. #define EDcut        3
  54. #define EDcopy        4        /* Edit Menu: Copy */
  55. #define EDpaste        5        /* Edit Menu: Paste */
  56. #define EDclear        6        /* Edit Menu: Clear */
  57. #define EDcopyt        7        /* Edit Menu: Copy Table */
  58. #define EDmacros    9        /* Edit Menu: Macros */
  59. #define EDprefs        10        /* Edit Menu: Preferences */
  60.  
  61. /* ----------------- The Session Menu ---------------------- */
  62. #define EMbs        1        /* Emulation Menu: backspace */
  63. #define EMdel        2        /* Emulation Menu: delete */
  64. #define EMecho        4        /* Emulation Menu: echo */
  65. #define EMwrap      5       /* Emulation Menu: Wrap mode on/off */
  66. #define EMarrowmap    6        /* JMB - Emulation Menu: Turn EMACS mapping off/on */
  67. #define EMpgupdwn    7        /* JMB - Emulation Menu: Turn local PgUp/PgDwn/etc. on/off */
  68. #define EMnational    8        /* LU */
  69. #define EMscroll    9        /* Emulation Menu: Clear Screen Saves Lines */
  70. #define EMreset     10        /* Emulation Menu: Reset Terminal */
  71. #define EMjump        11        /* Emulation Menu: Jump Scroll */
  72. #define EMpage        12        /* Emulation Menu: TEK Page command */
  73. #define EMclear        13        /* BYU 2.4.8 - Emulation Menu: TEK Page clears screen */
  74. #define EMscreensize 15        /* NCSA: SB - new screen dimensions dialog */
  75. #define EMsetup     17      /* BYU 2.4.8 - Emulation Menu: Setup keys */
  76. #define EMfont        18        /* BYU 2.4.8 - Emulation Menu: Font */
  77. #define EMsize        19        /* BYU 2.4.8 - Emulation Menu: Size */
  78. #define EMcolor        20        /* BYU 2.4.8 - Emulation Menu: Color */
  79. #define EMAnsiColor 21
  80. #define EMcapture    23        /* BYU 2.4.18 - Emulation Menu: Capture to file */
  81.  
  82. /* ----------------- The Network Menu ---------------------- */
  83. /* #define NEcommand    19    Emulation Menu: Command Keys */
  84. #define    NEftp        1        /* Emulation Menu: Send ftp command */
  85. #define    NEip        2        /* Emulation Menu: Send IP # */
  86. #define NEayt        4        /* Emulation Menu: Send "Are You There" */
  87. #define NEao        5        /* Emulation Menu: Send "Abort Output" */
  88. #define NEinter        6        /* Emulation Menu: Send "Interrupt Process" */
  89. #define NEec        7        /* Emulation Menu: Send "Erase Character" */
  90. #define NEel        8        /* Emulation Menu: Send "Erase Line" */
  91. #define NEscroll    10        /* Network Menu: Scroll Lock */
  92. #define NEnet        12        /* Network Menu: Show Net #'s */
  93.  
  94. /* ----------------- The Connection Menu ---------------------- */
  95. #define COnext            1    /* Connection Menu: Next Session... */
  96. #define    COtitle            2    /* Change window title */
  97. #define    FIRST_CNXN_ITEM    4    /* The first slot for connections in the menu */
  98.  
  99. /* ----------------- The Preferences Menu --------------------- */
  100. #define    prfGlobal    1
  101. #define    prfTerm        2
  102. #define    prfSess        3
  103. #define    prfFTP        4
  104. #define prfFTPUser    5
  105.  
  106. /* Baylor ----------------- The Keypad Menu ---------------------        */
  107. #define    KPFind            1        /*    Baylor -- Edit Key "Find"            */
  108. #define    KPInsertHere    2        /*    Baylor -- Edit Key "Insert here"    */
  109. #define    KPRemove        3        /*    Baylor -- Edit Key "Remove"            */
  110. #define    KPSelect        4        /*    Baylor -- Edit Key "Select"            */
  111. #define KPPrevScreen    5        /*    Baylor -- Edit Key "Prev Screen"    */
  112. #define    KPNextScreen    6        /*    Baylor -- Edit Key "Next Screen"    */
  113. #define KPUp            7        /*    Baylor -- Edit Key "Up arrow"        */
  114. #define KPLeft            8        /*    Baylor -- Edit Key "Left arrow"        */
  115. #define    KPDown            9        /*    Baylor -- Edit Key "Down arrow"        */
  116. #define KPRight            10        /*    Baylor -- Edit Key "Right arrow"    */
  117. #define KPPF1            11        /*    Baylor -- Keypad "PF1"                */
  118. #define KPPF2            12        /*    Baylor -- Keypad "PF2"                */
  119. #define KPPF3            13        /*    Baylor -- Keypad "PF3"                */
  120. #define KPPF4            14        /*    Baylor -- Keypad "PF4"                */
  121. #define KPKP7            15        /*    Baylor -- Keypad "7"                */
  122. #define KPKP8            16        /*    Baylor -- Keypad "8"                */
  123. #define KPKP9            17        /*    Baylor -- Keypad "9"                */
  124. #define KPKPMinus        18        /*    Baylor -- Keypad "Minus"            */
  125. #define KPKP4            19        /*    Baylor -- Keypad "4"                */
  126. #define KPKP5            20        /*    Baylor -- Keypad "5"                */
  127. #define KPKP6            21        /*    Baylor -- Keypad "6"                */
  128. #define KPKPComma        22        /*    Baylor -- Keypad "Comma"            */
  129. #define KPKP1            23        /*    Baylor -- Keypad "1"                */
  130. #define KPKP2            24        /*    Baylor -- Keypad "2"                */
  131. #define KPKP3            25        /*    Baylor -- Keypad "3"                */
  132. #define KPKEnter        26        /*    Baylor -- Keypad "Enter"            */
  133. #define KPKP0            27        /*    Baylor -- Keypad "0"                */
  134. #define KPKPPeriod        28        /*    Baylor -- Keypad "Period"            */
  135.  
  136. /* Baylor ----------------- The Keypad Menu ---------------------        */
  137. #define    FKF6            1        /*    Baylor -- Function Key "F6"            */
  138. #define    FKF7            2        /*    Baylor -- Function Key "F7"            */
  139. #define    FKF8            3        /*    Baylor -- Function Key "F8"            */
  140. #define    FKF9            4        /*    Baylor -- Function Key "F9"            */
  141. #define    FKF10            5        /*    Baylor -- Function Key "F10"        */
  142. #define    FKF11            6        /*    Baylor -- Function Key "F11"        */
  143. #define    FKF12            7        /*    Baylor -- Function Key "F12"        */
  144. #define    FKF13            8        /*    Baylor -- Function Key "F13"        */
  145. #define    FKF14            9        /*    Baylor -- Function Key "F14"        */
  146. #define    FKHelp            10        /*    Baylor -- Function Key "Help"        */
  147. #define    FKDo            11        /*    Baylor -- Function Key "Do"            */
  148. #define    FKF17            12        /*    Baylor -- Function Key "F17"        */
  149. #define    FKF18            13        /*    Baylor -- Function Key "F18"        */
  150. #define    FKF19            14        /*    Baylor -- Function Key "F19"        */
  151. #define    FKF20            15        /*    Baylor -- Function Key "F20"        */
  152.